package ch01.template;

/**
 * Created by zc on 2016/11/20.
 */
public abstract class AbstractClass {
    protected abstract void doAnything();
    protected abstract void doSomething();

    public final void templateMethod(){
        this.doAnything();
        this.doSomething();
    }
}
